﻿using System;
using System.ComponentModel.DataAnnotations;

namespace DEL.Gzh
{
    //悬赏信息线索
    public class XSXXClue:BaseT
    {
        [Display(Name = "悬赏信息Id")]
        [Required(ErrorMessage = "案件Id不能为空")]        
        public int XSXXInfoId { get; set; }

        [Display(Name = "举报内容")]
        [Required(ErrorMessage = "举报内容不能为空")]        
        public string Summary { get; set; }

        [Display(Name = "举报人姓名")]
        public string ReporterName { get; set; }

        [Display(Name = "举报人电话")]
        public string ReporterTel { get; set; }

        [Display(Name = "语音")]
        public string Voice { get; set; }

        [Display(Name = "图片")]
        [MaxLength(500, ErrorMessage = "图片不超过12张")]
        public string Pic { get; set;}

        [Display(Name = "地址")]
        public string Localization { get; set; }

        [Display(Name = "是否有用")]
        public bool IsUse { get; set; }               
        
        [Display(Name = "处理人")]
        public string UsePolice { get; set; }
    }
}
